use serde::{Deserialize, Serialize};

/// 带用户信息的链接信息
#[derive(Debug, Default, Deserialize, Serialize, sqlx::FromRow)]
pub struct UserUrl {
    /// 邮箱
    pub email: String,

    /// 链接
    #[serde(flatten)]
    #[sqlx(flatten)]
    pub url: super::url::Url,
}
